/*
 * Copyright 2011 John Alström
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package se.elva.slticket.price;

public class PriceInfo {
	private String name;
	private double adult;
	private double teen;
	private double night;
	private double nightTeen;
	private String code;
	
	public PriceInfo(String name,double adult,double teen,double night,double nightTeen){
		this.name = name;
		this.adult = adult;
		this.teen = teen;
		this.night = night;
		this.nightTeen = nightTeen;
	}
	public PriceInfo(String name,double adult,double teen,double night,double nightTeen,String code){
		this.name = name;
		this.adult = adult;
		this.teen = teen;
		this.night = night;
		this.nightTeen = nightTeen;
		this.code = code;
	}
	
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public double getNightTeen() {
		return nightTeen;
	}
	
	public void setNightTeen(double nightTeen) {
		this.nightTeen = nightTeen;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getAdult() {
		return adult;
	}
	public void setAdult(double adult) {
		this.adult = adult;
	}
	public double getTeen() {
		return teen;
	}
	public void setTeen(double teen) {
		this.teen = teen;
	}
	public double getNight() {
		return night;
	}
	public void setNight(double night) {
		this.night = night;
	}
}
